namespace Be
{
	template<typename T>
	Cocos2dxSchedule<T>::Cocos2dxSchedule()
	{
	}

	template<typename T>
	Cocos2dxSchedule<T>::~Cocos2dxSchedule()
	{
	}

	template<typename T>
	Cocos2dxSchedule<T>& Cocos2dxSchedule<T>::Inst()
	{
		static Cocos2dxSchedule<T> l_Instance;

		return l_Instance;
	}

	template<typename T>
	void Cocos2dxSchedule<T>::update(float dt)
	{
		T::Inst().Update();
	}
}